﻿// BusinessLicenseService.cs
using Microsoft.EntityFrameworkCore;
using SimpleWebApi.MyMigration.Models.BusinessLicenseManagement;
using static SimpleWebApi.MyMigration.AdvancedCustomerDbContext;
using System;
using SimpleWebApi.MyMigration;
using AutoMapper;
using SimpleWebApi.Business.Service.Interface.DTO.BusinessLicenseDTO;
using SimpleWebApi.MyMigration.Models;

namespace SimpleWebApi.Business.Service.Interface.IBusinessLicense
{
    public interface IBusinessLicenseService : IBaseService
    {
        Task<BusinessLicense> CreateBusinessLicenseAsync(BusinessLicenseCreateDto dto);
        Task<BusinessLicense> UpdateBusinessLicenseAsync(BusinessLicenseUpdateDto dto);
        Task<PagedResult<BusinessLicense>> SearchLicensesAsync(BusinessLicenseQueryDto queryDto);
        Task<BusinessLicense?> GetLicenseByIdAsync(int id);
    }

    
}